package com.yunjian.core.basic.service;

import com.github.pagehelper.PageInfo;
import com.yunjian.core.basic.mapper.SUserMapper;
import com.yunjian.core.basic.model.SUser;
import com.yunjian.core.basic.model.SUserExample;

public interface SUserService extends SUserMapper{
	/**
	 * 根据用户帐号（邮箱、手机、自定义）查询用户
	 * @param username
	 * @return
	 */
	SUser selectByUserMultiName(String username);
	
	/**
	 * 分页检索
	 * @param page
	 * @param rows
	 * @return
	 */
	PageInfo<SUser> selectPagedByExample(int page, int rows, SUserExample example); 
	
	
}
